package com.lz.spring.cloud.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name="03-spring-eureka-client")
public interface CalcFeignClient {
	
	@RequestMapping(value="/add/{a}/{b}", method=RequestMethod.GET)
	public String add(@PathVariable("a") Integer a, @PathVariable("b") Integer b);
	
}
